package com.study.base.lambda.function;

import java.util.function.BiFunction;

/**
 * Created by tan on 2017/6/19.
 */
public class FunctionTest {
	public static void main(String[] args) {
		BiFunction<Integer, Integer,Integer> add = (x, y)->{
			return (x+y);
		};

		System.out.println(add.apply(5,6));
	}
}
